package com.expressage.po;

/**
 * 员工实体类
 */
 public class Staff {
        /**
         * 员工id
         */
        private int staffid;
        /**
         * 职工名字
         */
        private  String staffname;
        /**
         * 站点id
         */
        private  int siteid;
        /**
         * 员工电话
         */
        private  String staffphone;
        /**
         * 所在市区
         */
        private int cityid;
        /**
         *  所在区
         */
        private int areaid;
        /**
         *  所在街道
         */
        private int streetid;
        /**
         * 员工性别
         */
        private String staffsex;
        /**
         * 工资
         */
        private int salaryid;
        /**
         *  角色
         */
        private int rid;
        /**
         *  员工密码
         */
        private String pass;
//        set和get方法


    public int getStaffid() {
        return staffid;
    }

    public void setStaffid(int staffid) {
        this.staffid = staffid;
    }

    public String getStaffname() {
        return staffname;
    }

    public void setStaffname(String staffname) {
        this.staffname = staffname;
    }

    public int getSiteid() {
        return siteid;
    }

    public void setSiteid(int siteid) {
        this.siteid = siteid;
    }

    public String getStaffphone() {
        return staffphone;
    }

    public void setStaffphone(String staffphone) {
        this.staffphone = staffphone;
    }

    public int getCityid() {
        return cityid;
    }

    public void setCityid(int cityid) {
        this.cityid = cityid;
    }

    public int getAreaid() {
        return areaid;
    }

    public void setAreaid(int areaid) {
        this.areaid = areaid;
    }

    public int getStreetid() {
        return streetid;
    }

    public void setStreetid(int streetid) {
        this.streetid = streetid;
    }

    public String getStaffsex() {
        return staffsex;
    }

    public void setStaffsex(String staffsex) {
        this.staffsex = staffsex;
    }

    public int getSalaryid() {
        return salaryid;
    }

    public void setSalaryid(int salaryid) {
        this.salaryid = salaryid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }
//    有参无参

    public Staff(int staffid, String staffname,
                 int siteid, String staffphone,
                 int cityid, int areaid, int streetid,
                 String staffsex, int salaryid,
                 int rid, String pass) {
        this.staffid = staffid;
        this.staffname = staffname;
        this.siteid = siteid;
        this.staffphone = staffphone;
        this.cityid = cityid;
        this.areaid = areaid;
        this.streetid = streetid;
        this.staffsex = staffsex;
        this.salaryid = salaryid;
        this.rid = rid;
        this.pass = pass;
    }

    public Staff() {
    }
}
